import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';



// 引入上传文件组件
import FileUpload from './components/FileUpload/index.vue'
// 全局注册上传文件的组件
Vue.component('FileUpload',FileUpload)

Vue.use(ElementUI);
Vue.config.productionTip = false;

import request from './util/request.js'
// 将request挂载到全局
Vue.prototype.$request = request

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
